package com.pn.mapper;

import com.pn.entity.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RoleAuthMapper {

    //根据roleId删除roleAuth
    int deleteRoleAuthByRid(Integer roleId);
    //根据roleId查询所有authId
    List<Integer> selectAuthIdByRid(Integer roleId);
    //根据roleId和authId增加记录
    int insertRoleAuth(@Param("roleId") Integer roleId,@Param("authId") Integer authId);



}
